<?php
namespace Supplier\Controller;
use Think\Controller;
class SecurityqrController extends CommonController {
    public function listc(){
    	$get = I('get.');
    	$po = I('post.');
        $listinfo = M('security_qr')->where(array('supplier_id'=>$get['supplier_id'],'goods_id'=>$get['goods_id']))->select();
        foreach ($listinfo as $key => $value) {
        	$goodsinfo = M('goods')->where(array('goods_id'=>$value['goods_id']))->find();
        	$listinfo[$key]['goods_name'] = $goodsinfo['goods_name'];

        	
        }
        $this->assign('listinfo',$listinfo);
        $this->display('');
    }

}